﻿
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    /// <summary>
    /// 菜单
    /// </summary>
    [DataContract]
    public partial class Memu
    {
        public Memu()
        {
        }

        [DataMember]
        public string Id { get; set; }
        [DataMember]
        public string Title { get; set; }
        [DataMember, Index("IX_Memu", 1)]
        public string Link { get; set; }
        [DataMember]
        public string Pid { get; set; }
        [DataMember]
        public int RootId { get; set; }
        [DataMember]
        public int OrderId { get; set; }
        [DataMember, Index, Index("IX_Memu", 0)]
        public string BaseModel { get; set; }
        [DataMember]
        public bool IsOpen { get; set; }
        [DataMember]
        public byte? ModelId { get; set; }
        /// <summary>
        /// 低权限代码
        /// </summary>
        [DataMember]
        public string LowestRightCode { get; set; }
        public Model Model { get; set; }

        [DataMember, NotMapped]
        public string OleId { get; set; }
        [DataMember, NotMapped]
        public string OlePid { get; set; }
    }
}